package com.hgkj.cloud.base.service.impl;

import com.hgkj.cloud.base.dao.SysFaqParamsMapper;
import com.hgkj.cloud.base.domain.SysFaqParams;
import com.hgkj.cloud.base.service.SysFaqParamsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class SysFaqParamsServiceImpl implements SysFaqParamsService {

    @Autowired
    private SysFaqParamsMapper sysFaqParamsMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return sysFaqParamsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysFaqParams record) {
        return sysFaqParamsMapper.insert(record);
    }

    @Override
    public int insertSelective(SysFaqParams record) {
        return sysFaqParamsMapper.insertSelective(record);
    }

    @Override
    public SysFaqParams selectByPrimaryKey(Integer id) {
        return sysFaqParamsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(SysFaqParams record) {
        return sysFaqParamsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysFaqParams record) {
        return sysFaqParamsMapper.updateByPrimaryKey(record);
    }

    @Override
    public SysFaqParams getFaqParamByMap(Map<String, Object> map) {
        return sysFaqParamsMapper.getFaqParamByMap(map);
    }
}
